﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Chowpoo.Common;
using Chowpoo.Util;
using CourseSystem.Common;
using CourseSystem.Common.Helpers;
using CourseSystem.Core.BLL;
using CourseSystem.Core.Entities;
using CourseSystem.Core.Enum;
using Webdiyer.WebControls.Mvc;


namespace CourseSystem.Web.Controllers
{
    public class InteractionController : BaseController
    {
        //
        // GET: /Interaction/

        public ActionResult Index(int? type)
        {
            type = type.CheckInt(0);
            
            switch(type)
            {
                case 0: return RedirectToAction("Question"); break;
                case 1: break;
                case 2: break;
                case 3: break;
            }
            return NotFound();
        }

        public ActionResult Question()
        {
            ViewData["type"] = 0;
            return View();
        }

    }
}
